--------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\wb614536\Downloads\replication\replication\code\../outputs/07_RD_W1_W2_log.txt
  log type:  text
 opened on:  25 Jun 2026, 12:55:08
r; t=0.00 12:55:08

. 
. di "=================================================================="
==================================================================
r; t=0.00 12:55:08

. di "  07_RD_W1_W2.do"
  07_RD_W1_W2.do
r; t=0.00 12:55:08

. di "  Date: $S_DATE  Time: $S_TIME"
  Date: 25 Jun 2026  Time: 12:55:08
r; t=0.00 12:55:08

. di "=================================================================="
==================================================================
r; t=0.00 12:55:08

. 
. use "$clean/PEP_Analysis_Sample.dta", clear
(PEP analysis sample (JEEA-style + extended outcome indices))
r; t=0.11 12:55:08

. 
. /*==============================================================================
>   PART 1: APPLY JEEA-STYLE SAMPLE RESTRICTIONS + FE DUMMIES
> ==============================================================================*/
. 
. local jeea_controls hhven_spouse hhven_other jobopp labven ///
>                     typeworkven1 typeworkven2 typeworkven3 ///
>                     written_cont average yrseduc healthmig frdfam ///
>                     smartven owner electven waterven sewageven female ///
>                     age_panel child_venez time_col
r; t=0.00 12:55:08

. 
. gen sample_roster = .
(13,580 missing values generated)
r; t=0.00 12:55:08

. qui reg trt_hh `jeea_controls'
r; t=2.27 12:55:10

. replace sample_roster = e(sample)
(13,580 real changes made)
r; t=0.00 12:55:10

. replace sample_roster = 0 if gasto_capita == . & trt_hh != .
(119 real changes made)
r; t=0.00 12:55:10

. replace sample_roster = 0 if employed == . & trt_hh != .
(88 real changes made)
r; t=0.00 12:55:10

. replace sample_roster = 0 if hora_semana == . & trt_hh != . & asalariado_num == 1
(64 real changes made)
r; t=0.00 12:55:10

. replace sample_roster = 0 if anx_depr == .
(2 real changes made)
r; t=0.00 12:55:10

. replace sample_roster = 0 if health_pca == .
(8 real changes made)
r; t=0.00 12:55:10

. bysort family_id: egen sample_reg = max(sample_roster)
r; t=0.02 12:55:10

. keep if (orden == 1 | orden == 2) & sample_reg == 1
(6,451 observations deleted)
r; t=0.02 12:55:10

. 
. tab dpto_fe, gen(dpt)

 Department |
         FE |
  (grouped) |      Freq.     Percent        Cum.
------------+-----------------------------------
          5 |      1,261       17.69       17.69
          8 |      1,424       19.97       37.66
         11 |      2,643       37.07       74.74
         54 |        658        9.23       83.97
        100 |      1,143       16.03      100.00
------------+-----------------------------------
      Total |      7,129      100.00
r; t=0.00 12:55:10

. tab sample_fe, gen(smpl)

   Sampling |
    city FE |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |      2,728       38.27       38.27
          2 |      1,200       16.83       55.10
          3 |      1,534       21.52       76.62
         20 |      1,667       23.38      100.00
------------+-----------------------------------
      Total |      7,129      100.00
r; t=0.00 12:55:10

. local fe dpt1 dpt2 dpt3 dpt4 smpl1 smpl2 smpl3
r; t=0.00 12:55:10

. 
. /*==============================================================================
>   PART 1B: BUILD ENRICHED MENTAL HEALTH AND TRUST INDICATORS
> 
>   The original mental-health outcomes (anx_depr, any_anx_depr, vas_score,
>   phys_problem, chronic_illness) capture severity of physical illness and
>   EQ-5D anxiety/depression but do not exploit life satisfaction or
>   inverted EQ-5D items. The integration effects in Tables 6 and the
>   social-trust evidence motivate constructing a richer mental health
>   composite. Similarly, the integration table reports trust in Colombians
>   only, while the underlying survey collects general trust, trust in
>   Venezuelans (in-group), and trust in Colombians (out-group).
> ==============================================================================*/
. 
. * Mental-health (mh_index) and trust (trust_index) composites are now
. * constructed in 03_OutcomeConstruction.do so they persist in
. * PEP_Analysis_Sample.dta and are visible to every downstream do-file
. * (10_Robustness, 11_PaperFigures, etc.). Nothing to do here.
. capture confirm variable mh_index
r; t=0.00 12:55:10

. capture confirm variable trust_index
r; t=0.00 12:55:10

. 
. /*==============================================================================
>   PART 2: OUTCOME LIST + TREATMENT MAP
> ==============================================================================*/
. 
. * Two parallel locals: outcomes and the treatment to use per outcome
. local out_list ///
>     jeea_index_wellbeing labour_income gasto_capita income_maxhh employed ///
>     jeea_index_labor formal hora_semana ///
>     jeea_index_services sisben subs has_bank_account govtr ///
>     health_pca mh_index anx_depr any_anx_depr vas_score phys_problem chronic_illness ///
>     life_satisfaction hi5_inv ///
>     index_food skip_meals went_without_food protein_days food_insecure_seek ///
>     index_housing adequate_housing has_electricity has_water has_sewage ///
>     index_integration belonging feel_integrated trust_col col_friends ///
>     community_org connection_colombia ///
>     trust_index general_trust trust_ven venezuelans_help_me ///
>     index_discrim discrim_ever discrim_freq filed_complaint ///
>     intend_stay plan_stay_5yr considered_return_ven ///
>     currently_studying currently_enrolled degree_validated ///
>     child_skip_meals child_vaccinated child_worked ///
>     index_remit remit_now remit_to_parents ///
>     index_fin_access index_digital has_savings_account has_mobile_money ///
>     has_smartphone has_internet apps_whatsapp
r; t=0.00 12:55:10

. 
. * Treatment per outcome (HH for HH-level outcomes, individual otherwise)
. local trt_list ///
>     pep    pep    trt_hh    trt_hh    pep ///
>     pep    pep    pep ///
>     pep    pep    pep    trt_hh    trt_hh ///
>     pep    pep    pep    pep    pep    pep    pep ///
>     pep    pep ///
>     pep    pep    pep    pep    pep ///
>     pep    pep    pep    pep    pep ///
>     pep    pep    pep    pep    pep ///
>     pep    pep ///
>     pep    pep    pep    pep ///
>     pep    pep    pep    pep ///
>     pep    pep    pep ///
>     pep    pep    pep ///
>     pep    pep    pep ///
>     trt_hh trt_hh trt_hh ///
>     trt_hh trt_hh trt_hh trt_hh ///
>     trt_hh trt_hh trt_hh
r; t=0.00 12:55:10

. 
. local n_out : word count `out_list'
r; t=0.00 12:55:10

. local n_trt : word count `trt_list'
r; t=0.00 12:55:10

. di "  outcomes: `n_out',  treatments: `n_trt'"
  outcomes: 66,  treatments: 66
r; t=0.00 12:55:10

. assert `n_out' == `n_trt'
r; t=0.00 12:55:10

. 
. /*==============================================================================
>   PART 3: RUN RD PER (OUTCOME, WAVE, SPEC) AND COLLECT RESULTS
> ==============================================================================*/
. 
. di ""

r; t=0.00 12:55:10

. di "--- Running fuzzy RD on each outcome ---"
--- Running fuzzy RD on each outcome ---
r; t=0.00 12:55:10

. 
. * Open results log
. file open res using "$out/07_RD_W1_W2_results.txt", write replace text
(file ../outputs/07_RD_W1_W2_results.txt not found)
r; t=0.00 12:55:10

. file write res "outcome" _tab "treatment" _tab "wave" _tab "spec" _tab
r; t=0.00 12:55:10

. file write res "coef" _tab "se" _tab "p" _tab "p_rb" _tab "n_eff" _tab ///
>                 "h_l" _tab "h_r" _tab "n_l" _tab "n_r" _tab "ctrl_mean" _newline
r; t=0.00 12:55:10

. 
. * Collect into matrices, one per (wave, spec) — total 4 matrices
. tempname W1NC W1WC W2NC W2WC
r; t=0.00 12:55:10

. matrix `W1NC' = J(`n_out', 4, .)
r; t=0.00 12:55:10

. matrix `W1WC' = J(`n_out', 4, .)
r; t=0.00 12:55:10

. matrix `W2NC' = J(`n_out', 4, .)
r; t=0.00 12:55:10

. matrix `W2WC' = J(`n_out', 4, .)
r; t=0.00 12:55:10

. 
. * Helper: run rdrobust, return scalars
. capture program drop _rd_one
r; t=0.00 12:55:10

. program define _rd_one, rclass
  1.     args outcome wave treatment usectrls
  2.     local b   = .
  3.     local se  = .
  4.     local p   = .
  5.     local prb = .
  6.     local n   = .
  7.     local hl  = .
  8.     local hr  = .
  9.     local nl  = .
 10.     local nr  = .
 11.     local cm  = .
 12.     if "`usectrls'" == "1" {
 13.         capture rdrobust `outcome' date if wave_num == `wave', ///
>             c(0) fuzzy(`treatment') ///
>             kernel(triangular) bwselect(mserd) p(1) all level(95) ///
>             covs($all_ctrls)
 14.     }
 15.     else {
 16.         capture rdrobust `outcome' date if wave_num == `wave', ///
>             c(0) fuzzy(`treatment') ///
>             kernel(triangular) bwselect(mserd) p(1) all level(95)
 17.     }
 18.     if !_rc {
 19.         * Report the bias-corrected ROBUST estimate (matches JEEA convention:
.         * _b[Robust] / _se[Robust] from rdrobust). Conventional kept as prb-
.         * companion if needed.
.         local b   = e(tau_bc)
 20.         local se  = e(se_tau_rb)
 21.         local p   = e(pv_rb)
 22.         local prb = e(pv_cl)
 23.         local hl  = e(h_l)
 24.         local hr  = e(h_r)
 25.         local nl  = e(N_h_l)
 26.         local nr  = e(N_h_r)
 27.         local n   = `nl' + `nr'
 28.         * Control-group mean of the dependent variable within the bandwidth
.         * (eligible side after reflection: date > 0; treatment is the chosen
.         *  PEP indicator; control = treatment indicator equal to 0)
.         qui sum `outcome' if wave_num == `wave' & ///
>             date <= 0 & date >= -`hl' & `treatment' == 0
 29.         local cm = r(mean)
 30.     }
 31.     return scalar b   = `b'
 32.     return scalar se  = `se'
 33.     return scalar p   = `p'
 34.     return scalar prb = `prb'
 35.     return scalar n   = `n'
 36.     return scalar hl  = `hl'
 37.     return scalar hr  = `hr'
 38.     return scalar nl  = `nl'
 39.     return scalar nr  = `nr'
 40.     return scalar cm  = `cm'
 41. end
r; t=0.01 12:55:10

. 
. global all_ctrls `jeea_controls' `fe'
r; t=0.00 12:55:10

. 
. forvalues k = 1/`n_out' {
  2.     local v   : word `k' of `out_list'
  3.     local trt : word `k' of `trt_list'
  4.     capture confirm variable `v'
  5.     if _rc continue
  6. 
.     foreach w in 1 2 {
  7.         foreach spec in 0 1 {
  8.             _rd_one `v' `w' `trt' `spec'
  9.             local b   = r(b)
 10.             local se  = r(se)
 11.             local p   = r(p)
 12.             local prb = r(prb)
 13.             local n   = r(n)
 14.             local hl  = r(hl)
 15.             local hr  = r(hr)
 16.             local nl  = r(nl)
 17.             local nr  = r(nr)
 18.             local cm  = r(cm)
 19.             local specnm = cond(`spec' == 1, "with_ctrls", "no_ctrls")
 20.             file write res "`v'" _tab "`trt'" _tab "W`w'" _tab "`specnm'" _tab
 21.             file write res "`=string(`b', "%6.4f")'" _tab "`=string(`se', "%6.4f")'" _tab
 22.             file write res "`=string(`p', "%6.4f")'" _tab "`=string(`prb', "%6.4f")'" _tab "`n'" _tab
 23.             file write res "`=string(`hl', "%6.2f")'" _tab "`=string(`hr', "%6.2f")'" _tab
 24.             file write res "`nl'" _tab "`nr'" _tab "`=string(`cm', "%9.4f")'" _newline
 25. 
.             if `w' == 1 & `spec' == 0 {
 26.                 matrix `W1NC'[`k', 1] = `b'
 27.                 matrix `W1NC'[`k', 2] = `se'
 28.                 matrix `W1NC'[`k', 3] = `p'
 29.                 matrix `W1NC'[`k', 4] = `n'
 30.             }
 31.             else if `w' == 1 & `spec' == 1 {
 32.                 matrix `W1WC'[`k', 1] = `b'
 33.                 matrix `W1WC'[`k', 2] = `se'
 34.                 matrix `W1WC'[`k', 3] = `p'
 35.                 matrix `W1WC'[`k', 4] = `n'
 36.             }
 37.             else if `w' == 2 & `spec' == 0 {
 38.                 matrix `W2NC'[`k', 1] = `b'
 39.                 matrix `W2NC'[`k', 2] = `se'
 40.                 matrix `W2NC'[`k', 3] = `p'
 41.                 matrix `W2NC'[`k', 4] = `n'
 42.             }
 43.             else if `w' == 2 & `spec' == 1 {
 44.                 matrix `W2WC'[`k', 1] = `b'
 45.                 matrix `W2WC'[`k', 2] = `se'
 46.                 matrix `W2WC'[`k', 3] = `p'
 47.                 matrix `W2WC'[`k', 4] = `n'
 48.             }
 49.         }
 50.     }
 51. }
r; t=203.35 12:58:33

. file close res
r; t=0.00 12:58:33

. 
. di ""

r; t=0.00 12:58:33

. di "--- Summary: with-controls specification ---"
--- Summary: with-controls specification ---
r; t=0.00 12:58:33

. di %-30s "Outcome" %5s "Trt" %12s "W1 coef" %12s "W2 coef"
Outcome                         Trt     W1 coef     W2 coef
r; t=0.00 12:58:33

. forvalues k = 1/`n_out' {
  2.     local v   : word `k' of `out_list'
  3.     local trt : word `k' of `trt_list'
  4.     capture confirm variable `v'
  5.     if _rc continue
  6.     local b1 = `W1WC'[`k', 1]
  7.     local b2 = `W2WC'[`k', 1]
  8.     if !missing(`b1') | !missing(`b2') {
  9.         di %-30s "`v'" %5s "`trt'" %12.3f `b1' %12.3f `b2'
 10.     }
 11. }
jeea_index_wellbeing            pep       1.179       0.123
labour_income                   pep       0.453       0.449
gasto_capita                  trt_hh       0.510      -0.119
income_maxhh                  trt_hh       0.250       0.306
employed                        pep       0.240      -0.066
jeea_index_labor                pep       1.052       0.623
formal                          pep       0.142       0.124
hora_semana                     pep      -0.051       0.068
jeea_index_services             pep       1.992       2.572
sisben                          pep       0.532       0.791
subs                            pep       0.310       0.487
govtr                         trt_hh       0.218       0.447
health_pca                      pep       0.952       0.885
mh_index                        pep      -0.344      -0.474
anx_depr                        pep       0.037       0.048
any_anx_depr                    pep       0.208       0.143
vas_score                       pep      -2.636      -4.799
phys_problem                    pep      -0.131       0.005
chronic_illness                 pep      -0.304      -0.518
life_satisfaction               pep       0.795      -0.890
hi5_inv                         pep      -0.650      -0.248
index_food                      pep       0.120       0.431
skip_meals                      pep      -0.072      -0.371
went_without_food               pep      -0.513      -0.225
protein_days                    pep       0.371       1.980
food_insecure_seek              pep       0.262       0.229
index_housing                   pep       0.737       0.687
adequate_housing                pep       0.190       0.137
has_electricity                 pep       0.062       0.082
has_water                       pep       0.240       0.023
has_sewage                      pep       0.220       0.402
index_integration               pep      -0.205       1.013
belonging                       pep       0.223       1.649
feel_integrated                 pep      -0.098       1.018
trust_col                       pep       0.470       0.745
col_friends                     pep      -0.977       1.071
community_org                   pep       0.020       0.001
connection_colombia             pep           .       1.200
trust_index                     pep       0.307       1.073
general_trust                   pep       0.179       1.011
trust_ven                       pep       0.191       0.882
venezuelans_help_me             pep      -1.333       0.848
index_discrim                   pep      -0.176       0.007
discrim_ever                    pep      -0.618      -0.361
discrim_freq                    pep       0.280      -0.428
filed_complaint                 pep       0.239       0.337
intend_stay                     pep       0.046      -0.047
plan_stay_5yr                   pep      -0.434      -0.386
considered_return_ven           pep       0.280       0.362
currently_studying              pep       0.039      -0.037
currently_enrolled              pep       0.022       0.026
degree_validated                pep       0.003      -0.095
child_skip_meals                pep      -0.133      -0.023
child_vaccinated                pep      -0.173      -0.394
index_remit                   trt_hh       0.067       0.160
remit_now                     trt_hh       0.239       0.120
remit_to_parents              trt_hh       0.087       0.136
index_fin_access              trt_hh       0.332      -0.470
index_digital                 trt_hh       0.166      -0.020
has_savings_account           trt_hh      -1.637       3.277
has_mobile_money              trt_hh       2.184      -0.975
has_smartphone                trt_hh       0.048       0.000
has_internet                  trt_hh      -0.372      -0.508
apps_whatsapp                 trt_hh       0.010      -0.136
r; t=0.00 12:58:33

. 
. /*==============================================================================
>   PART 4: PDF REPORT — paginated to avoid putpdf table-count limits
> ==============================================================================*/
. 
. di ""

r; t=0.00 12:58:33

. di "--- Building PDF report ---"
--- Building PDF report ---
r; t=0.00 12:58:33

. 
. * Helper to write a chunk of outcomes per PDF
. capture program drop _make_chunk
r; t=0.00 12:58:33

. program define _make_chunk
  1.     args partnum start stop
  2.     local out_list  ""
  3.     local trt_list  ""
  4.     forvalues k = `start'/`stop' {
  5.         local v   : word `k' of $out_list_g
  6.         local trt : word `k' of $trt_list_g
  7.         local out_list "`out_list' `v'"
  8.         local trt_list "`trt_list' `trt'"
  9.     }
 10.     putpdf clear
 11.     putpdf begin, pagesize(letter) margin(left, 0.6in) margin(right, 0.6in)
 12.     putpdf paragraph, halign(center)
 13.     putpdf text ("Fuzzy RD: W1 vs W2 — Part `partnum'"), bold font(, 14)
 14. 
.     putpdf paragraph
 15.     local nrange = `stop' - `start' + 1
 16.     putpdf table rd = (`=`nrange'+1', 7), border(all)
 17.     putpdf table rd(1,1) = ("Outcome"), bold halign(center)
 18.     putpdf table rd(1,2) = ("Trt"), bold halign(center)
 19.     putpdf table rd(1,3) = ("W1 coef NC"), bold halign(center)
 20.     putpdf table rd(1,4) = ("W1 coef +X"), bold halign(center)
 21.     putpdf table rd(1,5) = ("W2 coef NC"), bold halign(center)
 22.     putpdf table rd(1,6) = ("W2 coef +X"), bold halign(center)
 23.     putpdf table rd(1,7) = ("N (W1/W2 +X)"), bold halign(center)
 24. 
.     forvalues k = `start'/`stop' {
 25.         local v   : word `k' of $out_list_g
 26.         local trt : word `k' of $trt_list_g
 27.         local row = `k' - `start' + 2
 28.         local b1n = W1NC[`k', 1]
 29.         local s1n = W1NC[`k', 2]
 30.         local p1n = W1NC[`k', 3]
 31.         local b1c = W1WC[`k', 1]
 32.         local s1c = W1WC[`k', 2]
 33.         local p1c = W1WC[`k', 3]
 34.         local n1c = W1WC[`k', 4]
 35.         local b2n = W2NC[`k', 1]
 36.         local s2n = W2NC[`k', 2]
 37.         local p2n = W2NC[`k', 3]
 38.         local b2c = W2WC[`k', 1]
 39.         local s2c = W2WC[`k', 2]
 40.         local p2c = W2WC[`k', 3]
 41.         local n2c = W2WC[`k', 4]
 42. 
.         local star1n = ""
 43.         if `p1n' < 0.05 local star1n "*"
 44.         if `p1n' < 0.01 local star1n "**"
 45.         local star1c = ""
 46.         if `p1c' < 0.05 local star1c "*"
 47.         if `p1c' < 0.01 local star1c "**"
 48.         local star2n = ""
 49.         if `p2n' < 0.05 local star2n "*"
 50.         if `p2n' < 0.01 local star2n "**"
 51.         local star2c = ""
 52.         if `p2c' < 0.05 local star2c "*"
 53.         if `p2c' < 0.01 local star2c "**"
 54. 
.         putpdf table rd(`row',1) = ("`v'"), font("Courier", 8)
 55.         putpdf table rd(`row',2) = ("`trt'"), font(, 8)
 56.         putpdf table rd(`row',3) = ("`=string(`b1n', "%5.3f")'`star1n'"), font(, 8)
 57.         putpdf table rd(`row',4) = ("`=string(`b1c', "%5.3f")'`star1c'"), font(, 8)
 58.         putpdf table rd(`row',5) = ("`=string(`b2n', "%5.3f")'`star2n'"), font(, 8)
 59.         putpdf table rd(`row',6) = ("`=string(`b2c', "%5.3f")'`star2c'"), font(, 8)
 60.         putpdf table rd(`row',7) = ("`n1c' / `n2c'"), font(, 8)
 61.     }
 62.     putpdf paragraph
 63.     putpdf text ("* p<0.05, ** p<0.01. NC = no controls; +X = with JEEA controls + FE."), italic font(, 8)
 64.     putpdf save "$out/07_RD_W1_W2_part`partnum'.pdf", replace
 65. end
r; t=0.00 12:58:33

. 
. * Stash matrices and lists in globals so the program can access them
. global out_list_g `out_list'
r; t=0.00 12:58:33

. global trt_list_g `trt_list'
r; t=0.00 12:58:33

. matrix W1NC = `W1NC'
r; t=0.00 12:58:33

. matrix W1WC = `W1WC'
r; t=0.00 12:58:33

. matrix W2NC = `W2NC'
r; t=0.00 12:58:33

. matrix W2WC = `W2WC'
r; t=0.00 12:58:33

. 
. * Split into chunks of ~25 outcomes per PDF
. local chunks_per_page = 25
r; t=0.00 12:58:33

. local n_done = 0
r; t=0.00 12:58:33

. local part = 0
r; t=0.00 12:58:33

. while `n_done' < `n_out' {
  2.     local ++part
  3.     local start = `n_done' + 1
  4.     local stop  = min(`n_done' + `chunks_per_page', `n_out')
  5.     _make_chunk `part' `start' `stop'
  6.     local n_done = `stop'
  7. }
successfully created "C:/Users/wb614536/Downloads/replication/replication/outputs/07_RD_W1_W2_part1.pdf"
successfully created "C:/Users/wb614536/Downloads/replication/replication/outputs/07_RD_W1_W2_part2.pdf"
successfully created "C:/Users/wb614536/Downloads/replication/replication/outputs/07_RD_W1_W2_part3.pdf"
r; t=0.60 12:58:34

. 
. * Headline file = part 1
. copy "$out/07_RD_W1_W2_part1.pdf" "$out/07_RD_W1_W2.pdf", replace
(file ../outputs/07_RD_W1_W2.pdf not found)
r; t=0.00 12:58:34

. 
. * LaTeX skeleton
. file open tex using "$out/07_RD_W1_W2.tex", write replace
(file ../outputs/07_RD_W1_W2.tex not found)
r; t=0.00 12:58:34

. file write tex "\documentclass[11pt]{article}\usepackage[margin=1in]{geometry}\usepackage{booktabs}" _n
r; t=0.00 12:58:34

. file write tex "\title{Fuzzy RD: Wave 1 vs Wave 2}\author{Sandra Rozo}\date{\today}\begin{document}\maketitle" _n
r; t=0.00 12:58:34

. file write tex "Per-outcome results in 07\_RD\_W1\_W2\_results.txt." _n
r; t=0.00 12:58:34

. file write tex "Tables for the headline outcomes are in 07\_RD\_W1\_W2\_part*.pdf." _n
r; t=0.00 12:58:34

. file write tex "\end{document}" _n
r; t=0.00 12:58:34

. file close tex
r; t=0.00 12:58:34

. 
. di ""

r; t=0.00 12:58:34

. di "  PDF saved:    $out/07_RD_W1_W2.pdf"
  PDF saved:    ../outputs/07_RD_W1_W2.pdf
r; t=0.00 12:58:34

. di "                $out/07_RD_W1_W2_part*.pdf (one per chunk of 25 outcomes)"
                ../outputs/07_RD_W1_W2_part*.pdf (one per chunk of 25 outcomes)
r; t=0.00 12:58:34

. di "  TeX saved:    $out/07_RD_W1_W2.tex"
  TeX saved:    ../outputs/07_RD_W1_W2.tex
r; t=0.00 12:58:34

. di "  Results txt:  $out/07_RD_W1_W2_results.txt"
  Results txt:  ../outputs/07_RD_W1_W2_results.txt
r; t=0.00 12:58:34

. di "  Done."
  Done.
r; t=0.00 12:58:34

. 
. log close
      name:  <unnamed>
       log:  C:\Users\wb614536\Downloads\replication\replication\code\../outputs/07_RD_W1_W2_log.txt
  log type:  text
 closed on:  25 Jun 2026, 12:58:34
--------------------------------------------------------------------------------------------------------------------
